import { addColumnEllipsis, dateRender } from "utils/common";
const columnWidth = 80;

let columns = [
  {
    dataIndex: "dictId",
    title: "字典主键",
    align: 'center',
    width: 60
  },  {
    dataIndex: "dictName",
    title: "字典名称",
    align: 'center',
    width: 60
  },
  {
    dataIndex: "dictType",
    title: "字典类型",
    align: 'center',
    scopedSlots: { customRender: "dictType" },
    width: 60
  },
  {
    dataIndex: "status",
    title: "状态",
    scopedSlots: { customRender: "status" },
    align: 'center',
    width: 60
  },
  {
    dataIndex: "remark",
    title: "备注",
    align: 'center',
    width: 60
  },
  {
    dataIndex: "createTime",
    title: "创建时间",
    align: 'center',
    width: 60
  },
  {
    dataIndex: "modifyTime",
    title: "更新时间",
    align: 'center',
    width: 60
  },
  {
    dataIndex: "operation",
    title: "操作",
    scopedSlots: { customRender: "operation" },
    width: 120,
    align: "center",
    fixed: 'right'
  }
];

columns = addColumnEllipsis(columns);
export default columns;
